package service

import (
	"erp/app"
	"erp/model"
)

var dbEngine = app.GetDbEngine()

func GetShopGoods(id int) model.Goods {
	goodsRow := model.Goods{}
	dbEngine.Table("f_shop_goods").Where("id=?", id).Get(&goodsRow)
	return goodsRow
}
